import java.util.ArrayList;

//large
public class Sköldpadduru extends Pet {


	public Sköldpadduru(String petName, int petXP, int petDamageTaken, int petDef, int petStr, int petSpd, int petSize, ArrayList<AttackName> petAttacks) {
		super(petName, "Utan hatten får han fnatten. Rör den inte!", Type.Energy, petXP, petDamageTaken, petDef, petStr, petSpd, petSize, petAttacks,"/petsPictures/sköldpadduruFRONT.GIF","/petsPictures/sköldpadduruBACK.gif");

	}
 
	public Sköldpadduru(String petName, int petExp) {

		super(petName, "Utan hatten får han fnatten. Rör den inte!", Type.Energy, petExp, 13, 13, 8, 370, new Sköldpadduru().startingAttacks(petExp), "/petsPictures/sköldpadduruFRONT.GIF","/petsPictures/sköldpadduruBACK.gif");
	}


	public Sköldpadduru(){
		super();
	}
	
	public ArrayList<AttackName> startingAttacks(int exp) {
		int xp = exp;
		ArrayList<AttackName> attacks = new ArrayList<AttackName>();
		
		if (xp == -1){
			return attacks;
		}
		
		if(xp<100){
			attacks.add(AttackName.TorsIlska);
			return attacks;
			}
			else if(xp < 200){
			attacks.add(AttackName.TorsIlska);
			attacks.add(AttackName.Förödmjuka);
			return attacks;
			}
			else if(xp<400){
				attacks.add(AttackName.TorsIlska);
				attacks.add(AttackName.Förödmjuka);
				attacks.add(AttackName.Skalla);
				return attacks;
			}
			else if(xp<600){
				attacks.add(AttackName.TorsIlska);
				attacks.add(AttackName.Förödmjuka);
				attacks.add(AttackName.Skalla);
				attacks.add(AttackName.BiffKrim);
				return attacks;
			}
			else if(xp<800){
				attacks.add(AttackName.TorsIlska);
				attacks.add(AttackName.Blixtsnabb);
				attacks.add(AttackName.Skalla);
				attacks.add(AttackName.BiffKrim);
				return attacks;
			}
			else {
				attacks.add(AttackName.TorsIlska);
				attacks.add(AttackName.Blixtsnabb);
				attacks.add(AttackName.Skalla);
				attacks.add(AttackName.Elkretsanalys);
				return attacks;
			}
	}

	public Pet copy() {
		Sköldpadduru duplicate = new Sköldpadduru(name, currentXP, damageTaken, defense, strength, speed, size, attacks);
		duplicate.energy = energy;
		return duplicate;
	}
	public Pet copy(int exp) {
		Sköldpadduru duplicate = new Sköldpadduru(name, exp);
		duplicate.energy = energy;
		return duplicate;
	}
}

	



